<% fb_dashboard do %>
  <%= fb_create_button 'new prize', new_admin_prize_path %>
<% end %>


<table class="lister">
<thead>
<tr>
<td>name</td>
<td>pic</td>
<td>description</td>
<td>streak</td>
<td>manage</td>
</tr>
</thead>
<tbody>
<% if @prizes.empty? %>
<tr><td colspan="5"><div class="empty"> no prize found. </div></td></tr>
<% else %>
<%= render :partial=>"prize_tr",:collection=>@prizes %>
<% end %>
</tbody>
</table>
<%= will_paginate @prizes %>
